<?php

namespace common\service;


use common\model\MessageModel;
use common\model\TenantUserDepartmentModel;
use common\model\TenantUserModel;
use common\model\TenantUserRoleModel;
use support\ErrorCode;
use support\SingletonTrait;
use Webman\Stomp\Client;

class FixDataService
{

    use SingletonTrait;

    public function __construct()
    {
    }

    /**
     * 修复原计划节点--补充旧数据
     * @param $param
     * @return int
     */
    public function fixCapacityPoolData($param)
    {
        $fixType = $param['fix_type'] ?? '';
        //$tenantId, int $tenantPositionId): int
        CapacityService::getInstance()->fixTenantCapacityNum();
        return 1;
    }

}
